package org.example.work1022.w1;

import java.util.List;

public class Class {
    private String className;
    private List<Students> students;

    public Class(String className, List<Students> students) {
        this.className = className;
        this.students = students;
    }

    @Override
    public String toString() {
        return "Class{" +
                "className='" + className + '\'' +
                ", students=" + students +
                '}';
    }
}
